// 提交评论
const postReply = (reply) => {

    if (!Cookies.get('authorization')) {
        layer.msg('请先登录后评论')
        return
    }

    request.request({
        url: 'community/tool/post_reply',
        method: 'post',
        data: {
            replyInfo: {
                col_uuid: colUuid,
                form_id: formId,
                reply: reply
            }
        }
    }).then(res => {
        document.getElementById('replyContent').value = ''
        layer.msg(res.msg);
    })
}

// 获取评论
const getReply = (params) => {
    return request.request({
        url: 'community/tool/get_reply',
        method: 'get',
        params: params
    })
}